package com.lw.yygh.model.hosp;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * Department
 * </p>
 *
 * @author qy
 */
@Data
@Document("Department")
public class Department{
	
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	//医院编号
	@Indexed //普通索引
	private String hoscode;

	//科室编号
	@Indexed(unique = true) //唯一索引
	private String depcode;

	//科室名称
	private String depname;

	//科室描述
	private String intro;

	//大科室编号
	private String bigcode;

	//大科室名称
	private String bigname;

	private Date createTime;

	private Date updateTime;

	private Integer isDeleted;
}

